const evnMode = import.meta.env.MODE;

const requestConfig = {
  development: {
    baseUrl: "https://gateway-dev.kukewang.com",
    bigClientUrl: "https://boss-devb.tyyk99.com/dev",
  },
  test: {
    baseUrl: "https://gateway-test.kukewang.com",
    bigClientUrl: "https://boss-testb.tyyk99.com/stage-api",
  },
  pre: {
    baseUrl: "https://api.pre.kukewang.com",
    bigClientUrl: "https://boss-b.pre.kukewang.com/pre-api",
  },
  pressure: {
    baseUrl: "https://api.pt.kukewang.com",
    bigClientUrl: "https://boss-b.pt.kukewang.com/pressure-api",
  },
  production: {
    baseUrl: "https://api.kukeonline.com",
    bigClientUrl: "https://boss-b.kukeonline.com/prod-api",
  },
} as any;

// 应用全局配置
export const appConfig = {
  baseUrl: requestConfig[`${evnMode}`].baseUrl,
  bigClientUrl: requestConfig[`${evnMode}`].bigClientUrl,
  // 应用信息
  appInfo: {
    // 应用名称
    name: "",
    // 应用版本
    version: "1.0.0",
    // 应用logo
    logo: "",
  },
};
